﻿<Window x:Class="com.bodurov.WpfControls.SampleApp.ErrorView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="There has been an application error" Height="300" Width="450">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="1*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="*" />
			<RowDefinition Height="25px" />
		</Grid.RowDefinitions>

		<TextBox x:Name="ErrorText" 
				HorizontalAlignment="Stretch" 
				VerticalAlignment="Stretch" 
				HorizontalScrollBarVisibility="Visible" 
				VerticalScrollBarVisibility="Visible" 
				Grid.Column="0" 
				Grid.Row="0" />

		<Button x:Name="OkButton" 
				Content="OK" 
				Width="80" 
				Height="25" 
				Grid.Column="0" 
				Grid.Row="1" 
				HorizontalAlignment="Center" 
				Click="OkButton_Click" />

	</Grid>
</Window>